<template>
    <h3>总价:{{ total }}</h3>
</template>

<script setup>
defineProps({
    total:Number
})
</script>

<style lang="css" scoped>
h3{
    background-color: pink;
}
</style>